package com.ruoyi.system.domain.match;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 比赛信息对象 bm_match_info
 * 
 * @author xiangzhipeng
 * @date 2022-11-29
 */
public class BmMatchInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 比赛名字 */
    @Excel(name = "比赛名字")
    private String matchName;

    /** 比赛开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "比赛开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 比赛结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "比赛结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 报名开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signStartDate;

    /** 报名结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date singEndDate;

    /** 描述 */
    @Excel(name = "描述")
    private String matchDesc;

    @Excel(name = "比赛状态")
    private String state;


    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMatchName(String matchName) 
    {
        this.matchName = matchName;
    }

    public String getMatchName() 
    {
        return matchName;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setSignStartDate(Date signStartDate) 
    {
        this.signStartDate = signStartDate;
    }

    public Date getSignStartDate() 
    {
        return signStartDate;
    }
    public void setSingEndDate(Date singEndDate) 
    {
        this.singEndDate = singEndDate;
    }

    public Date getSingEndDate() 
    {
        return singEndDate;
    }
    public void setMatchDesc(String matchDesc) 
    {
        this.matchDesc = matchDesc;
    }

    public String getMatchDesc() 
    {
        return matchDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("matchName", getMatchName())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("signStartDate", getSignStartDate())
            .append("singEndDate", getSingEndDate())
            .append("matchDesc", getMatchDesc())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
